//
//  BaseViewController.m
//  AutoHome
//
//  Created by wqh on 15-5-9.
//  Copyright (c) 2015年 Wqh. All rights reserved.
//

#import "BaseViewController.h"


@interface BaseViewController ()

@end

@implementation BaseViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.

    UIBarButtonItem *backButton = [[UIBarButtonItem alloc] init];
    backButton.title = @"返回";
    self.navigationItem.backBarButtonItem = backButton;
    self.view.backgroundColor = [UIColor whiteColor];

}


- (void)displayCustomTabBar {
    
    NSArray *array = self.tabBarController.view.subviews;
    for (UIView *view in array) {
        if (view.tag == 100) {
            view.hidden = NO;
            break;
        }
    }
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
